@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600,700');
@import url('https://fonts.googleapis.com/css?family=Roboto:100,300,400,700');

/* ===== RESET & BASE STYLES ===== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  height: 100%;
  font-size: clamp(14px, 1.5vw, 16px);
}

body {
  margin: 0;
  padding: 0;
  color: #000;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow: hidden;
  font-family: 'Roboto', sans-serif;
}

/* ===== UTILITY CLASSES ===== */
.disabled {
  display: none;
}

/* ===== HEADER SECTION ===== */
.header {
  padding: clamp(0.5rem, 1vh, 1rem);
  background-color: #fff;
  box-shadow: rgba(0, 0, 0, 0.322) 2px 3px 5px;
  margin: 0 auto clamp(0.25rem, 1vh, 0.5rem) auto;
  width: min(95vw, 800px);
  display: flex;
  justify-content: center;
  align-items: center;
}

.header p {
  color: #000;
  text-align: center;
  font-size: clamp(1.5rem, 4vw, 1.875rem);
  cursor: default;
  font-family: 'Roboto', sans-serif;
  text-shadow: rgba(0, 0, 0, 0.062) 0px 2px 7px;
  font-weight: 300;
  line-height: 1.2;
  margin: 0;
}

/* ===== MAIN CONTAINER ===== */
.container {
  background-color: rgb(255, 255, 255);
  font-family: 'Roboto', sans-serif;
  box-shadow: rgba(0, 0, 0, 0.322) 2px 11px 5px;
  margin: 0 auto;
  max-width: min(90vw, 600px);
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.container-header {
  padding: clamp(1rem, 3vh, 1.875rem);
  text-align: center;
  font-size: clamp(1.25rem, 3.5vw, 1.625rem);
  color: #fff;
  text-shadow: rgba(0, 0, 0, 0.384) 0px 2px 7px;
  font-weight: 300;
  line-height: 1.3;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.container-body {
  padding: clamp(0.25rem, 1vh, 0.3125rem) clamp(0.5rem, 2vw, 1rem);
  text-align: center;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* ===== USER PROFILE SECTION ===== */
.user {
  position: fixed;
  bottom: clamp(0.5rem, 1vh, 0.625rem);
  left: clamp(0.5rem, 1vw, 0.625rem);
  box-shadow: rgba(0, 0, 0, 0.322) 2px 3px 5px;
  width: auto;
  max-width: min(250px, 25vw);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.user p {
  font-family: 'Roboto', sans-serif;
  font-size: clamp(0.75rem, 2vw, 1rem);
  line-height: 1.3;
  margin: 0;
}

.user img {
  height: clamp(8rem, 15vw, 11.875rem);
  width: clamp(8rem, 15vw, 11.875rem);
  display: block;
  margin: 0 auto;
  border-radius: 5px;
  object-fit: cover;
}

/* ===== RESPONSIVE BREAKPOINTS ===== */

/* Tablet and medium screens */
@media (max-width: 768px) {
  .header {
    width: 95vw;
    margin-bottom: clamp(0.5rem, 1vh, 1rem);
    padding: clamp(0.75rem, 1.5vh, 1.25rem);
  }

  .container {
    max-width: 95vw;
  }

  .user {
    bottom: clamp(0.25rem, 1vh, 0.5rem);
    left: clamp(0.25rem, 1vw, 0.5rem);
    max-width: min(200px, 30vw);
  }
}

/* Mobile phones */
@media (max-width: 480px) {
  .header {
    padding: clamp(0.5rem, 1vh, 0.75rem);
  }

  .header p {
    font-size: clamp(1.25rem, 5vw, 1.5rem);
  }

  .container-header {
    font-size: clamp(1rem, 4vw, 1.25rem);
    padding: clamp(0.75rem, 2vh, 1rem);
  }

  .container-body {
    padding: clamp(0.5rem, 1vh, 0.75rem) clamp(0.75rem, 3vw, 1.25rem);
  }

  .user {
    max-width: min(150px, 35vw);
  }

  .user img {
    height: clamp(6rem, 20vw, 8rem);
    width: clamp(6rem, 20vw, 8rem);
  }
}

/* Very small screens and short viewports */
@media (max-height: 600px) {
  .header {
    padding: clamp(0.25rem, 0.5vh, 0.5rem);
    margin-bottom: clamp(0.25rem, 0.5vh, 0.5rem);
  }

  .container-header {
    padding: clamp(0.5rem, 1.5vh, 1rem);
  }

  .user {
    bottom: clamp(0.25rem, 0.5vh, 0.5rem);
    left: clamp(0.25rem, 0.5vw, 0.5rem);
  }
}

/* Ultra-wide screens */
@media (min-width: 1200px) {
  .header {
    max-width: 900px;
  }

  .container {
    max-width: 700px;
  }
}